package org.abratuhi.kvngroupware.brainstorm.gui;

import java.awt.BorderLayout;
import java.awt.Dimension;
import java.util.Properties;

import javax.swing.JScrollPane;
import javax.swing.JTextArea;

import org.abratuhi.kvngroupware.brainstorm.manager.BrainstormManager;
import org.abratuhi.kvngroupware.network.MessageSender;
import org.abratuhi.kvngroupware.widget.AbstractWorkWidget;

@SuppressWarnings("serial")
public class GuiBrainstormOverview extends AbstractWorkWidget{
	
	public GuiBrainstormOverview(String frameid, String frametitle, MessageSender sender, Properties locale, BrainstormManager brainstormmanager){
		super(frameid, frametitle, sender, locale);
		
		setLayout(new BorderLayout());
		setPreferredSize(new Dimension(400, 600));
		setVisible(true);
		
		JTextArea textarea = new JTextArea(); //TODO: enter desired text using frameid
		textarea.setColumns(25);
		textarea.setRows(40);
		textarea.setWrapStyleWord(true);
		textarea.setLineWrap(true);
		
		add(new JScrollPane(textarea));
	}
}
